import { createApp, reactive } from "vue";
import "./css/common.css";
import plugin from "@/plugin/plugin.js";

// import App from "./App.vue";
import App from "./Test1.vue";
let app = createApp(App);
app.use(plugin);
let session = {
  user: { name: "admin" },
  list: new Array(0).fill(1).map((item,i) => ({i})),
  setUser(user) {
    this.user = user;
  }
};
window.s = session;
window.ss = reactive(session);
window.s1 = reactive(session);
app.provide("session", window.ss);
window.app = app.mount("#app");
window.ap = app;
